ARM: bcm2835: Add a compat string for bcm2836 machine probe
authorEric Anholt <eric@anholt.net>
Wed, 16 Dec 2015 23:55:14 +0000 (15:55 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
Supporting the 2836 requires using the new interrupt controller, which
we have support for.

Signed-off-by: Eric Anholt <eric@anholt.net>
Gbp-Pq: Topic features/arm/rpi
Gbp-Pq: Name arm-bcm2835-add-a-compat-string-for-bcm2836-machine-.patch

arch/arm/mach-bcm/board_bcm2835.c

index 0f7b9eac3d15d23dc7faa78699e119c7faad547c..834d67684e205a185971c13ebc6620434eeac788 100644 (file)
@@ -36,7 +36,12 @@ static void __init bcm2835_init(void)
 }
 
 static const char * const bcm2835_compat[] = {
+#ifdef CONFIG_ARCH_MULTI_V6
        "brcm,bcm2835",
+#endif
+#ifdef CONFIG_ARCH_MULTI_V7
+       "brcm,bcm2836",
+#endif
        NULL
 };